package com.zhiyou.wisdom.mapper;

import com.zhiyou.wisdom.pojo.Schema1;
import com.zhiyou.wisdom.pojo.Schema1Example;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface Schema1Mapper {
    int countByExample(Schema1Example example);

    int deleteByExample(Schema1Example example);

    int deleteByPrimaryKey(Integer schemaId);

    int insert(Schema1 record);

    int insertSelective(Schema1 record);

    List<Schema1> selectByExample(Schema1Example example);

    Schema1 selectByPrimaryKey(Integer schemaId);

    int updateByExampleSelective(@Param("record") Schema1 record, @Param("example") Schema1Example example);

    int updateByExample(@Param("record") Schema1 record, @Param("example") Schema1Example example);

    int updateByUserIdSelective(Schema1 record);
    
    int updateByPrimaryKeySelective(Schema1 record);

    int updateByPrimaryKey(Schema1 record);
}